package net.wenku8.reader.view.common

import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel

class DialogViewModel : ViewModel() {
    var show by mutableStateOf(false)
    var text by mutableStateOf("")

    fun show(text: String){
        this.text = text
        show = true
    }
}
